import data from "./example.json" with { type: "json" };

console.log(data.age);
console.log(data["list of courses"]);